WebSocketServer{ }
start{
  int port=getWebSocketPort(svc.getConfiguration());
  io.netty.bootstrap.ServerBootstrap.<init>
  final WebSocketServerPipelineFactory factory=new WebSocketServerPipelineFactory(svc);
  io.netty.bootstrap.ServerBootstrap.setPipelineFactory
  io.netty.bootstrap.ServerBootstrap.bind
  svc.addShutdownHook(new Runnable(){
      bootstrap.releaseExternalResources();
      factory.getWebSocketServerHandler().stop();
      svc=null;
}
run{
  io.netty.bootstrap.ServerBootstrap.releaseExternalResources
  factory.getWebSocketServerHandler().stop();
  svc=null;
}
getWebSocketPort{
  Integer port=config.getIntProperty(ErraiServiceConfigurator.WEB_SOCKET_PORT);
    port=DEFAULT_PORT;
}
